package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataMonthdirectDao;
import io.renren.entity.DataMonthdirectEntity;
import io.renren.service.DataMonthdirectService;



@Service("dataMonthdirectService")
public class DataMonthdirectServiceImpl implements DataMonthdirectService {
	@Autowired
	private DataMonthdirectDao dataMonthdirectDao;
	
	@Override
	public DataMonthdirectEntity queryObject(String areano){
		return dataMonthdirectDao.queryObject(areano);
	}
	
	@Override
	public List<DataMonthdirectEntity> queryList(Map<String, Object> map){
		return dataMonthdirectDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataMonthdirectDao.queryTotal(map);
	}
	
	@Override
	public void save(DataMonthdirectEntity dataMonthdirect){
		dataMonthdirectDao.save(dataMonthdirect);
	}
	
	@Override
	public void update(DataMonthdirectEntity dataMonthdirect){
		dataMonthdirectDao.update(dataMonthdirect);
	}
	
	@Override
	public void delete(String areano){
		dataMonthdirectDao.delete(areano);
	}
	
	@Override
	public void deleteBatch(String[] areanos){
		dataMonthdirectDao.deleteBatch(areanos);
	}
	
}
